import requests

url = "https://data.sh.gov.cn/interface/6029/11717"

data = {"name": "周浦花海", "record_time": "", "limit": 20, "offset": 0}

headers = {

    'content-type': 'application/json',

    'cache-control': 'no-cache',

    'token': '70f76ded81876dea09c7ecd813686367',

    'User-Agent': 'Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Mobile Safari/537.36',

}

# 直接把字典传给 requests.post() 的 json 参数
r = requests.post(url=url, json=data, headers=headers)

print(r.text)
